package org.itsolutions.javaBackup.gui.web.properties;

import org.itsolutions.javaBackup.properties.AProperty;

/**
 * 
 * @param <T> property type
 * @author Tomas Fecko
 */
public final class GUIWebProperty<T> extends AProperty<T> {
	
	private static final String		PROPERTY_FILE_NAME = "guiWeb.properties";
	
	/**
	 * 
	 * @param pPropertyKey property key
	 * @param pDefaultValue default value
	 */
	private GUIWebProperty(String pPropertyKey, T pDefaultValue) {
		super(pPropertyKey, pDefaultValue);
	}
	
	//CHECKSTYLE:OFF
	public static final AProperty<Integer> WEB_SERVER_PORT = new GUIWebProperty<Integer>("web.server.port", 9000);	
	//CHECKSTYLE:ON
	
	@Override
	protected String getPropertyFileName() {
		return PROPERTY_FILE_NAME;
	}
}




